#！ /bin/bash

echo "正在删除文件zhixing-sp-f-n/dist..."
rm -rf /wushuang/zhixing-sp-f-n/dist &&
echo "dist删除完毕，进入目录拉取代码..."
cd /wushuang/zhixing-sp-f-n &&

echo "我已经进来到zhixing-sp-f-n里面啦，准备执行git pull..." &&

git pull &&

echo "git pull done" &&

npm run build &&

echo "npm run build done" &&

nginx -s reload &&

echo "done"

echo
